package com.qf.day03.loop;

import java.util.Scanner;

public class Dome01 {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        double sum = 0;
        double max = 0;
        double min = 0;
        for (int i = 0; i < 5; i++) {
            System.out.println("输入成绩");
            double a = sc.nextDouble();
            sum = sum + a;
        }
        System.out.println("总成绩是：" + sum);
    }

}
